home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Amiga Tools 2
/
Amiga Tools 2.iso
/
tools
/
skoed
/
arexx
/
testrexx1.rexx
< prev
next >
Wrap
OS/2 REXX Batch file
|
1995-03-09
|
580b
|
33 lines
/* TestRexx1.rexx */
/*
This shows simple calls to SkoEd
with SkoEd running, RX TestRexx1.rexx
*/
Options FailAt 10
Options results
say 'About to Start'
Address COMMAND 'wait' sec 4
Address SKOED1 "Get_Var(LineNum)"
say result
Address SKOED1 "Get_Var(FileName)"
file = result
Address SKOED1 "Get_Var(FilePath)"
path = result
say path || file
Address SKOED1 "Msg(Hello)"
Address COMMAND 'wait' sec 4
Address SKOED1 "Set_Var(INSERT FALSE)"
if rc > 0 then
exit (5)
else
say "Done"
Address SKOED1 "UmmErr"
if rc > 0 then
say "Error"
else
say "All Done"